package org.bee.enums;

import org.bee.annotation.EnumsDict;

/**
 * 批处理任务状态
 */
@EnumsDict(value = "jobStatus", desc = "任务状态")
public enum JobStatus implements IEnum{

    RUNNING("true","运行中"),
    STOP("false","停止");

    private final String code;
    private final String desc;

    JobStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
